DBVldEdit component Delphi 2.0 version included

This object is an alternative for the DBEdit object. Added is an OnValidate event to check data before leaving the field.( the OnExit event is executed after leaving the field). It leaves the focus on the DBVldEdit field.
Tabbing trough other fields (or controls) or clicking another object invokes the event to happen.
To insure that the validation can be overridden, a property CtlNames is created which is a list of controls that can be set that do not invoke the OnValidate event.(for instance an Cancel Button)  

New in version 1.1 is the EditMask property so data can be formatted when entered. It works as the normal EditMask property on an MaskEdit component. 

In version 1.2 is a focussing problem after showing a dialog is solved. When moving to a next field the caret is now visible.  
Installation
·	Copy the files DBVEDIT.DCU and DBVEDIT.DCR to a library directory of your choice.
     Delphi 2.0 users take them from the D2DBVEDT.zip
·	Choose from within the Delphi menu bar Options, Install components, Add and select the DBVEDIT.DCU file. Click OK and OK.
·	The component is now installed in the Specials panel.

Use of the DBVldEdit component
Just use the DBVldEdit as a normal DBEdit componen.
All normal DBEdit properties are valid. 
Additional Properties are
·	CtlNames		List of controls ignoring the OnValidate event.
·	Valid		Is True or False.
·	Required		Gets the value of the database. Can be set to TRUE to force filling out the field. If it is 			TRUE in the database setting it FALSE is probably not wise.
New in version 1.1:
•	EditMask		The EditMask for this field using the EditMask editor
•	Text			The Resulting string with the edit mask normally used for default values in this case needed 			to format the data
Additional Events
•	OnValidate		The procedure to check the Value of the field.

Demo Program
Enclosed is a demo:demo_ved.exe this program expects test.* files (also enclosed) to be in c:\delphi\test directory.
The OnValidate procedure is used on the field Code. When Trying to insert an Existing value a message appears.
Clicking the cancel no message appears.  
The message is shown through the MsgPanel object.
 
Registration
Registered users receive a copy of the source and a version for runtime. 
Registration trough SWREG (#11209)
Cost are US$10( sorry that’s the minimum fee for SWREG). 
Registered users will receive updated versions when available.
Suggestions and comments on this object are always welcome !!!!!

Disclaimer
The use of this component is completely at your own risk (as always)
I am not responsible for any damage caused by the use of this component.

Sjef van der Velde
Vriendschapslaan 10
6544 AM  Nijmegen
The Netherlands,  
CompuServe 101651,2176

Other Possible Usefull components
	MsgPanel (Giving messages to enduser with optional locking the application)  DBVEDIT.zip 
		by Sjef van der Velde
	Scaler  (Makes your application look the same on any resolution) SCALER.zip by Herman Steigstra
	MDCombo (Combobox with Master/Detail options also works with Queries) MDCOMBO.zip by H.S.
	LookupDB (DataAware lookup combo Points to the right record) LOOKUPDB.zip by H.S.